<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
    <div class="inner-left">
        <div class="contact-sec">
            <?php print render($title_prefix); ?>
            <div class="heading3">
                <h2<?php print $title_attributes; ?>>
                    <a href="<?php print $node_url; ?>"><?php print $title; ?></a>
                </h2>
            </div>
            <?php print render($title_suffix); ?>
            <div class="node-content clearfix"<?php print $content_attributes; ?>>

                <?php if(isset($content['body'])):?>
                    <?php print render($content['body']);?>
                <?php endif;?>
                <?php if(isset($content['field_contact_info'])):?>
                    <?php
                    $information = $content['field_contact_info'];
                    ?>

                    <?php foreach ($information['#items'] as $key => $row): ?>
                        <?php
                        $val = $row['value'];
                        $field_collection = $information[$key]['entity']['field_collection_item'][$val];
                        ?>
                        <span class="contact-information">
                            <?php if(isset($field_collection['field_contact_info_icon'])) :?>
                                <i class="<?php print $field_collection['field_contact_info_icon'][0]['#bundle']. ' '.$field_collection['field_contact_info_icon'][0]['#icon'];?> "></i>
                            <?php endif;?>
                            <?php if(isset($field_collection['field_contact_info_detail'])) :?>
                                <?php print $field_collection['field_contact_info_detail'][0]['#markup'];?>
                            <?php endif;?>

                        </span>
                    <?php endforeach; ?>
                <?php endif;?>

                <?php if(isset($content['field_contact_map'])):?>
                    <?php print render($content['field_contact_map']);?>
                <?php endif;?>

                <?php if(isset($content['webform'])):?>
                    <?php print render($content['webform']);?>
                <?php endif; ?>
            </div>
            <?php
                // We hide the comments and links now so that we can render them later.
                hide($content['comments']);
                hide($content['links']);
                hide($content['body']);
                hide($content['field_contact_map']);
                hide($content['webform']);
                hide($content['field_contact_info']);

                print render($content);
            ?>
            <?php
            // Remove the "Add new comment" link on the teaser page or if the comment
            // form is being displayed on the same page.
                if ($teaser || !empty($content['comments']['comment_form'])) {
                  unset($content['links']['comment']['#links']['comment-add']);
                }
                // Only display the wrapper div if there are links.
                $links = render($content['links']);
                if ($links):
            ?>
                    <div class="link-wrapper">
                      <?php print $links; ?>
                    </div>
                <?php endif; ?>

            <?php if ($display_submitted): ?>
                <div class="meta submitted">
                    <?php print $user_picture; ?>
                    <?php print $submitted; ?>
                </div>
            <?php endif; ?>
            <?php print render($content['comments']); ?>
        </div>
    </div>
</div>
